//
//  CounterView.m
//  WuJieLive
//
//  Created by iMac on 2017/12/5.
//  Copyright © 2017年 zhk. All rights reserved.
//

#import "CounterView.h"

@implementation CounterView

-(void)awakeFromNib
{
    [super awakeFromNib];
    
}

- (IBAction)addAction:(UIButton *)sender {
    if (self.addBlock) {
        self.addBlock(self.numText);
    }
}

- (IBAction)subtractAction:(UIButton *)sender {
    if (self.subBlock) {
        self.subBlock(self.numText);
    }
}

@end
